package com.xr.maintain.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.ibatis.type.Alias;


import java.util.Date;

/**
 * Created on 2021/6/7
 * @author qiao
 * @Desc:
 */


@TableName("TB_RESOURCES")
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("resources")
public class Resources {


    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    @TableField("company_id")
    private Long companyId;
    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;
    @TableField("resources_type")
    private String resourcesType;
    @TableField("file_name")
    private String fileName;
    @TableField("file_url")
    private String fileUrl;
    @TableField("is_delete")
    private String isDelete;
    @TableField("create_time")
    private Date createTime;

}
